package com.ruoyi.framework.config.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 动态数据源配置
 * 支持从外部服务器获取数据库密码
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.datasource.dynamic.server")
/**
 * 数据库动态密码配置
 */
public class DatabaseDynamicPasswordProperties {

    private String host;

    private String appKey;

    private String appSecret;

}
